package com.dt76.smallloanbackendservice.service.xiaohao.impl;

import com.dt76.smallloanbackendservice.mapper.xiaohao.ContractTemplateMapper;
import com.dt76.smallloanbackendservice.pojo.xiaohao.HContractTemplate;
import com.dt76.smallloanbackendservice.service.xiaohao.HContractTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ContractTemplateServiceImpl implements HContractTemplateService {

    @Autowired
    private ContractTemplateMapper contractTemplateMapper;

    @Override
    public List<HContractTemplate> qryAll() {
        return contractTemplateMapper.qryAll();
    }

    @Override
    public HContractTemplate qryByID(int id) {
        return contractTemplateMapper.qryByID(id);
    }
}
